import http from "../utils/http";
export default {
    clear() {
        return http.post("/member/readHistory/clear")
    },
    create( productId, productName, productPic, productPrice, productSubTitle) {
        return http.post("/member/readHistory/create", { productId, productName, productPic, productPrice, productSubTitle })
    },
    delete(ids) {
        return http.posts("/member/readHistory/delete",{ids})
    },
    list(pageNum, pageSize) {
        return http.get("/member/readHistory/list", { pageNum, pageSize })
    }
}